#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2021/11/28 11:25
    Desc  :
--------------------------------------
"""


class AbstractBaseEnum(object):

    def getStringKeyValue(self):
        return f'#{self.key} {self.value}'

    def __init__(self, key: int, value: str):
        self.key = key
        self.value = value


class AbstractBaseCodeMessageEnum:

    def __init__(self, code: int, message: str):
        self.code = code
        self.message = message
